/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.loja.framework.hibernate.dao.factory;

import br.com.loja.framework.hibernate.dao.EntityDAOHibernate;
import br.com.loja.model.dao.factory.IDAOFactory;
import br.com.loja.model.dao.IDAO;

/**
 *
 * @author David Luiz
 */
public class HibernateDAOFactory implements IDAOFactory {

    @Override
    public <T> IDAO<T> getEntityDAO(Class<T> clazz) {
        return new EntityDAOHibernate<>(clazz);
    }

}
